package filter



type MsgData struct {
	InfrstructD InfrstructData `json:"infrstructData"`
	OtherD      OtherData `json:"otherData"`
}

type InfrstructData struct {
	Msgtype int16  `json:"msgtype"`
	Hash    string `json:"hash"`
	Dev_ip  string `json:"dev_ip"`
	Poduct  string `json:"product"`
}

type OtherData struct {
	Timestamp     int16        `json:"timestamp"`
	Bps           int16        `json:"bps"`
	Pps           int16        `json:"pps"`
	Total_bytes   int16        `json:"total_bytes"`
	Total_packets int16        `json:"total_packets"`
	Inter         []Interfaces `json:"interfaces"`
}

type Interfaces struct {
	Face          string `json:"interface"`
	Bps           int16  `json:"bps"`
	Pps           int16  `json:"pps"`
	Total_bytes   int16  `json:"total_bytes"`
	Total_packets int16  `json:"total_packets"`
}
